Xbasic
{INTERVAL}
Syntax
{INTERVAL= Seconds }
Arguments
- Seconds
Numeric. The number of seconds between timer events.
Description
The {INTERVAL} command is used to specify how frequently the timer event fires if a timer event is specified.
Example
dim cnt as N
cnt = 1
ui_modeless_dlg_box("{INTERVAL}",<<%dlg%
{timer=increment}
{interval=.05}
{progress=50cnt}
;
%dlg%,<<%code%
if a_dlg_button = "increment" then
cnt = cnt + 1
if cnt = 100 then
cnt = 1
end if
end if
if a_dlg_button = "close" then
ui_modeless_dlg_close("{INTERVAL}")
end if
%code%)Limitations
Desktop applications only
See Also